.box {
    display: inline-block;
    border: 1px solid black;
    width: 50px;
    height: 50px;
}

.panel{
    margin-top: 10px;
    border: 1px solid black;
    width: 300px;
    min-height: 230px;
}